package com.autonavi.yunda.yunji.core.model.mappers;

import com.autonavi.yunda.yunji.core.model.dto.EngineHealthCheckDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author sunzhenbang
 */
@Mapper
public interface EngineHealthCheckMapper extends BaseMapper<EngineHealthCheckDTO> {
    @Select("select id from yunji_engine_health_check where open = #{open}")
    List<Long> selectAllId(@Param("open")Integer open);
}
